<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
    <head></head>
    <body>
        <h1>This page is Authentication</h1>
        <div sec:authorize="isAuthenticated()">
            Authenticated as <span sec:authentication="name"></span>
        </div>
    </body>
</html>